import { createI18n } from "vue-i18n"
import zhLocale from "./package/zh";
import zhElementPlus from 'element-plus/dist/locale/zh-cn.mjs'
const messages = {
    "zh": {
        ...zhLocale,
        ...zhElementPlus
    }
}
const i18n = createI18n({
    legacy: false, // 设置为 false，启用 composition API 模式
    messages,
    locale: "zh" // 只显示中文
})

export default i18n;